package com.data.modules.smzh.service;


import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.data.common.api.vo.Result;
import com.data.modules.smzh.entity.SmDeviceLogs;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 设备日志表
 * @Author: data-boot
 * @Date:   2023-01-05
 * @Version: V1.0
 */
public interface ISmDeviceLogsService extends IService<SmDeviceLogs> {

    //推送报警消息到管理机
    void sendWarnMsg(SmDeviceLogs smDeviceLogs,String userId);

    //服务消息同步到我的代办
    void synPersonTodo(SmDeviceLogs smDeviceLogs,String userId);

    Result<?> searchAlarmInfo(SmDeviceLogs smDeviceLogs, HttpServletRequest req);

    Result<?> searchRepairInfo(SmDeviceLogs smDeviceLogs, HttpServletRequest req);

    void saveInfo(SmDeviceLogs smDeviceLogs,String userId);

    void sendMessage(SmDeviceLogs smDeviceLogs,String userId,String type);
}
